package com.sykj.cloud.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;

/**
 * 积分定义 对象 sys_point_define
 *
 * @author mr.will
 * @date 2021-03-24
 */
public class SysPointDefine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分定义ID */
    private String guid;

    /** 名称 */
    @Excel(name = "名称")

    private String name;

    /** 简称 */
    @Excel(name = "简称")

    private String shortName;

    /** 简单介绍 */
    @Excel(name = "简单介绍")

    private String shortDescription;

    /** 描述 */
    @Excel(name = "描述")

    private String description;

    /** 排序号 */
    @Excel(name = "排序号")

    private Integer orderSeq;

    /** 价值类型 */
    @Excel(name = "价值类型")

    private Integer valueType;

    /** 积分类型 */
    @Excel(name = "积分类型")

    private Integer pointType;

    /** 积分个数 */
    @Excel(name = "积分个数")

    private Integer number;

    /** 动作方向 */
    @Excel(name = "动作方向")

    private Integer actionType;

    /** 过期类型 */
    @Excel(name = "过期类型")

    private Integer overType;

    /** 转化权益类型 */
    @Excel(name = "转化权益类型")

    private Integer changgeType;

    /** 列表图 */
    @Excel(name = "列表图")

    private String listImage;

    /** 每个对象重复次数 */
    @Excel(name = "每个对象重复次数")

    private Integer objectRepeatTimes;

    /** 每日最大次数 */
    @Excel(name = "每日最大次数")

    private Integer dayMaxTimes;

    /** 全局最大次数 */
    @Excel(name = "全局最大次数")

    private Integer allMaxTimes;

    /** 是否有效 */
    @Excel(name = "是否有效")

    private Integer valid;

    /** 是否锁定 */
    @Excel(name = "是否锁定")

    private Integer lock;

    /** 是否删除 0 */
    @Excel(name = "是否删除 0")

    private Integer deleted;

    /** 删除人 */
    @Excel(name = "删除人")

    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setShortDescription(String shortDescription)
    {
        this.shortDescription = shortDescription;
    }

    public String getShortDescription()
    {
        return shortDescription;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setOrderSeq(Integer orderSeq)
    {
        this.orderSeq = orderSeq;
    }

    public Integer getOrderSeq()
    {
        return orderSeq;
    }
    public void setValueType(Integer valueType)
    {
        this.valueType = valueType;
    }

    public Integer getValueType()
    {
        return valueType;
    }
    public void setPointType(Integer pointType)
    {
        this.pointType = pointType;
    }

    public Integer getPointType()
    {
        return pointType;
    }
    public void setNumber(Integer number)
    {
        this.number = number;
    }

    public Integer getNumber()
    {
        return number;
    }
    public void setActionType(Integer actionType)
    {
        this.actionType = actionType;
    }

    public Integer getActionType()
    {
        return actionType;
    }
    public void setOverType(Integer overType)
    {
        this.overType = overType;
    }

    public Integer getOverType()
    {
        return overType;
    }
    public void setChanggeType(Integer changgeType)
    {
        this.changgeType = changgeType;
    }

    public Integer getChanggeType()
    {
        return changgeType;
    }
    public void setListImage(String listImage)
    {
        this.listImage = listImage;
    }

    public String getListImage()
    {
        return listImage;
    }
    public void setObjectRepeatTimes(Integer objectRepeatTimes)
    {
        this.objectRepeatTimes = objectRepeatTimes;
    }

    public Integer getObjectRepeatTimes()
    {
        return objectRepeatTimes;
    }
    public void setDayMaxTimes(Integer dayMaxTimes)
    {
        this.dayMaxTimes = dayMaxTimes;
    }

    public Integer getDayMaxTimes()
    {
        return dayMaxTimes;
    }
    public void setAllMaxTimes(Integer allMaxTimes)
    {
        this.allMaxTimes = allMaxTimes;
    }

    public Integer getAllMaxTimes()
    {
        return allMaxTimes;
    }
    public void setValid(Integer valid)
    {
        this.valid = valid;
    }

    public Integer getValid()
    {
        return valid;
    }
    public void setLock(Integer lock)
    {
        this.lock = lock;
    }

    public Integer getLock()
    {
        return lock;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("shortDescription", getShortDescription())
            .append("description", getDescription())
            .append("orderSeq", getOrderSeq())
            .append("valueType", getValueType())
            .append("pointType", getPointType())
            .append("number", getNumber())
            .append("actionType", getActionType())
            .append("overType", getOverType())
            .append("changgeType", getChanggeType())
            .append("listImage", getListImage())
            .append("objectRepeatTimes", getObjectRepeatTimes())
            .append("dayMaxTimes", getDayMaxTimes())
            .append("allMaxTimes", getAllMaxTimes())
            .append("valid", getValid())
            .append("lock", getLock())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
